home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 12: Textmags & Docs / nf_archive_12.iso / MAGS / SOURCES / ATARI_SRC.ZIP / atari source / FALCON / CPX / MODEM.TC / STRUCT.H < prev   
Encoding:
C/C++ Source or Header  |  2001-02-10  |  404 b   |  25 lines

  1.  
  2. #define Max_Ports  4
  3.  
  4. typedef struct _modem_data
  5. {
  6.    int cur_baud;
  7.    int cur_parity;
  8.    int cur_bits;
  9.    int cur_flow;
  10.    int cur_stop;
  11. }MDATA;
  12.  
  13. typedef struct _buffer
  14. {
  15.   int cur_baud;
  16.   int cur_flow;
  17. }BUFFER;  
  18.  
  19.  
  20. typedef struct _mdefault
  21. {
  22.   int    cur_port;    /* Current port to use as default 0,1,2,3 */
  23.   MDATA modem[ Max_Ports ];    /* SHould be same as MAX_PORTS */
  24. } MDEFAULT;
  25.